package com.cmxh.shipper.service.impl;

import com.cmxh.shipper.mapper.DriverRealnameMapper;
import com.cmxh.shipper.pojo.DriverRealname;
import com.cmxh.shipper.service.DriverRealnameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DriverRealnameServiceimpl implements DriverRealnameService {

    @Autowired
    private DriverRealnameMapper driverRealnameMapper;
    //新增实名认证
    public int insert(DriverRealname driverRealname)
    {
        return driverRealnameMapper.insert(driverRealname);
    }

    @Override
    public DriverRealname selectByPrimaryKey(Integer id) {
        return driverRealnameMapper.selectByPrimaryKey(id);
    }

}
